//
//  AppDelegate.h
//  WeddingStoreFinder
//
//  Created by Macdev on 11/19/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UpdateHandler.h"
#import "MapViewController.h"

@interface AppDelegate : UIResponder <UIApplicationDelegate, UpdateHandlerDelegate>

@property (nonatomic, retain) UIWindow *window;

@property (readonly, nonatomic, retain) NSManagedObjectContext *managedObjectContext;
@property (readonly, nonatomic, retain) NSManagedObjectModel *managedObjectModel;
@property (readonly, nonatomic, retain) NSPersistentStoreCoordinator *persistentStoreCoordinator;

@property (nonatomic, retain) UITabBarController *tabbarController;
@property (nonatomic, retain) MapViewController *mapViewController;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;


@end
